package com.siwei.mes.enums;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * @Description: 物料类型枚举   字典表（MASTERIAL_TYPE）
 * @Version: 1.0
 * @author: chenmaolin
 * @date: 2023/12/23 22:16
 */
@Getter
public enum MaterialsEnum {
    CEMENT(1, "水泥"),
    FLY(2, "粉煤灰"),
    SLAG(3, "矿渣粉"),
    COARSE(4, "粗骨料"),
    FINE(5, "细骨料"),
    ADMIXTURE(6, "外加剂"),
    CONCRETE(7, "混凝土");

    @ApiModelProperty(value = "类型id")
    private Integer code;

    @ApiModelProperty(value = "名称")
    private String name;

    MaterialsEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
